﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public enum NPCType
    {
        Task,
        Shop,
        Iron
    }
   abstract class NPC
    {
        private string name;
        private NPCType type;

        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public NPCType Type 
        {
            get { return this.Type; }
            set { this.Type = value; }
        }
        public NPC() { }

        public NPC(string name, NPCType type)
        {
            this.name = name;
            this.type = type;
        }
        public abstract void Speak();
        
    }
    
}
